<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button onclick="alert1()">弹窗一</button>
    <button onclick="confirm1()">弹窗二</button>
    <button onclick="prompt1()">弹窗三</button>

    <script>
        function alert1(){
            alert("甭点了,玩坏了")
        }
        function confirm1(){
            confirm("你还要继续吗")
        }
        function prompt1(){
            prompt("怎么样,舒服吗????")
        }
    </script>

</body>
</html>